﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Chinaer.IDao
{
    /// <summary>
    /// 外送员DAO
    /// </summary>
    public interface IEmployeeDAO : IBaseDAO<Chinaer.Model.Entities.Model_Employee>        
    {
        /// <summary>
        /// 获取该店铺下的所有员工列表
        /// </summary>
        /// <param name="dianPuID"></param>
        /// <returns></returns>
        List<Model.Entities.Model_Employee> GetAllEmployeesByDianPuID(string dianPuID);

        Model.Entities.Model_Employee GetByName(string employeeName);
        Model.Entities.Model_Employee GetByNameAndPassword(string name, string password);
        
    }
}
